﻿using ZhouYu.DreamTour.Web.Attributes;
using System.Web;
using System.Web.Mvc;
using ZhouYu.DreamTour.Attributes;

namespace ZhouYu.DreamTour.Web
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            //filters.Add(new HandleErrorAttribute());
           // filters.Add(new ExceptionAttribute());//异常
            //filters.Add(new ActionAttribute());//动作
            filters.Add(new LogExceptionFilter());//Log4net异常

        }
    }
}
